package Data;

public class SaleRecordData extends Data{

	private int saleRecordID;  
	private int goodID;
	private int number;
	private double price;
	private double specialPrice;
	private String date;
	
	public SaleRecordData(int srID,int gID,int num,double pri,double spepri,String da){
		saleRecordID = srID;
		goodID = gID;
		number = num;
		price = pri;
		specialPrice = spepri;
		date = da;
	}
	
	public void setData(String da){
		date = da;
	}
	
	public String getDate(){
		return date;
	}
	
	public void setSpecialPrice(double spepri){
		specialPrice = spepri;
	}
	
	public double getSpecialPrice(){
		return specialPrice;
	}
	
	public void setPrice(double pri){
		price = pri;
	}
	
	public double getPrice(){
		return price;
	}
	
	public int getSaleRecordID(){
		return saleRecordID;
	}
	
	public void setSaleRecordID(int srID){
		saleRecordID = srID;
	}
	
	public int getGoodID(){
		return goodID;
	}
	
	public void setGoodID(int gID){
		goodID = gID;
	}
	
	public int getNumber(){
		return number;
	}
	
	public void setNumber(int num){
		number = num;
	}
}
